home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.edu
- Path: in1.uu.net!world!bobduff
- From: bobduff@world.std.com (Robert A Duff)
- Subject: Re: ANSI C and POSIX (was Re: C/C++ knocks the crap out of Ada)
- Message-ID: <Dq4vpD.161@world.std.com>
- Organization: The World Public Access UNIX, Brookline, MA
- References: <JSA.96Feb16135027@organon.com> <829194658snz@tsys.demon.co.uk> <DppsHq.1Ar@world.std.com> <01bb2dcf.e0201620$c6c2b7c7@Zany.localhost>
- Date: Fri, 19 Apr 1996 23:53:37 GMT
-
- In article <01bb2dcf.e0201620$c6c2b7c7@Zany.localhost>,
- Bradd W. Szonye <bradds@ix.netcom.com> wrote:
- >Pardon me if this sounds silly, but...
- >You shouldn't have to rely on the documentation to make up for a lack of
- >common sense.
-
- Well, sorry, but it *does* sound pretty silly, to me. Anybody who's
- been around computer software for a while knows pretty well that
- predicting what software does from some vague notion of "common sense"
- is impossible.
-
- For example, common sense might tell you that function arguments are
- evaluated from left to right. Not true in C, not true in Ada, not true
- in C++ (there, I made it relevant to all these newsgroups, in case
- anyone's still listening ;-) ). These languages all go *against* common
- sense (for obscure efficiency reasons, of course). In this case, if you
- rely on common sense, instead of reading the language standard, you'll
- get into deep trouble.
-
- - Bob
-